Hollis Blanchard [Mon, 5 Mar 2007 18:49:12 +0000 (12:49 -0600)]
[POWERPC][XEN] Remove asm/platform.h (in favor of asm-powerpc/platform.h)
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : A%CD%B0%8B%90%1D%1D%FD%13%E7%98%3AT3%90%AC%E7%BB%A9%02
Jimi Xenidis [Fri, 15 Dec 2006 13:16:56 +0000 (08:16 -0500)]
[XEN][POWERPC] Normalize timbase_freq to a 64bit value
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %20%BD%3B%7Bu%19%E0%1F%7Bk%FA%97%C7%A6U%E1%DC%02%7F%5D
Jimi Xenidis [Fri, 15 Dec 2006 13:36:03 +0000 (08:36 -0500)]
[XEN][POWERPC] workaround for context_switch() bug
We have a bug in that if we switch domains in schedule() we switch
right away regardless of whatever else is pending. This means that
if the timer goes off while in schedule(), the next domain will be
preempted by the interval defined below. So until we fix our
cotnext_switch(), the follow workaround will make sure that the
domain we switch to does not run for to long so we can continue to
service the other timers in the timer queue and that the value is
long enough to escape this particular timer event.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : j%F6%01%C5%EB%E1%92%A0%DErC%0C%DD%94%DA%5B%A4o%F2%87
Jimi Xenidis [Thu, 8 Feb 2007 12:05:26 +0000 (07:05 -0500)]
[LIBXC][POWERPC] make sure DTB is truncated and has a decent mode
Also, since we only write to this FD, we mau as well use creat(2)
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %05%9B%EF%F4%12%9B%C0%FCD%03%2A%95%A8ull%A8%9Fk%21
Jimi Xenidis [Thu, 8 Feb 2007 11:46:13 +0000 (06:46 -0500)]
[LIBXC][POWERPC] use O_CREAT on open call for DTB_FILE
This fixes a bug in the creating of the flat dev tree. If open is used
and O_CREAT not is specified, it will fail if the file has not already
been created. This patch will create the file if it does not exist
already. Which will allow for DomU creation.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : Q%CA%40%88N%D8%25%B0%D7%FD%F8%1A%1E%07%8E2E%1BM%22
Hollis Blanchard [Sat, 3 Mar 2007 00:01:17 +0000 (18:01 -0600)]
[POWERPC][XEN] Commit missing file.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Hollis Blanchard [Fri, 2 Mar 2007 23:08:04 +0000 (17:08 -0600)]
[POWERPC][XEN][LIBXC] Make xc_linux_build() use populate_physmap()
- populate_physmap() is the only way to invoke
guest_physmap_{add/remove}_page(), which populate our new p2m table.
- To use it, we must to specify an array of PFNs where the new MFNs will be
mapped.
- Split out alloc_memory() from xc_linux_build().
- Fix memory free path in xc_linux_build().
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %9F%E6%FE%88%A6%A1%A2%88l%24%F2%AFvMf%3C%05%AF%DAU
Hollis Blanchard [Fri, 2 Mar 2007 23:07:59 +0000 (17:07 -0600)]
[POWERPC][XEN] Implement guest_physmap_{add,remove}_page().
- Use p2m array in pfn2mfn() and DOMCTL_getmemlist.
- Remove domain extent list.
- Create and use an m2p array for mfn_to_gmfn().
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Hollis Blanchard [Fri, 2 Mar 2007 23:07:01 +0000 (17:07 -0600)]
[POWERPC][XEN] Implement guest_physmap_max_mem_pages().
- Create a p2m array large enough to cover d->max_pages.
- Free in domain_relinquish_resources().
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %947%3Dm%FB%25%F3%B1%25%AC%05P%DFOE%D2%25%F9%E3%88
Hollis Blanchard [Fri, 2 Mar 2007 23:06:50 +0000 (17:06 -0600)]
[POWERPC][XEN] Introduce "platform" abstraction to describe the IO hole.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %D12%89%D7%E6%1B3Y%EA%E9%D85IU%22%AD%29%AC%C1%B1
Hollis Blanchard [Thu, 1 Mar 2007 21:04:45 +0000 (15:04 -0600)]
[POWERPC][XEN] Move dom0 memory allocation into construct_dom0().
General clean-up to prepare for initializing dom0's p2m array:
- Move rma allocation into construct_dom0()
- Move vcpu0 allocation into construct_dom0()
- Allow dom0_mem to set d->max_pages
- Be verbose when aligning dom0_mem with RMA check
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %C0%171%B8%CC%99%0A%D3%94%C5i0%02fb%60%95%8C%C4%A5
Hollis Blanchard [Thu, 1 Mar 2007 19:18:51 +0000 (13:18 -0600)]
[XEN] Add arch hook for max_mem domctl.
This patch introduces an arch hook in the MAX_MEM hcall. In particular, PowerPC
will use this hook to create/update a p2m mapping array. This patch introduces
the hook only and should compile away on all arches.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %BD%0B%97%A5i%FE%9F%5C%99%C2%01S%80%B6%C0%F0%82_l%A3
Hollis Blanchard [Thu, 1 Mar 2007 20:32:58 +0000 (14:32 -0600)]
[POWERPC][XEN] Don't create a start_info_t structure for dom0.
It's no longer needed now that Linux constructs its own via device tree
properties.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : 6%29Qsq%F0%05x%9B%1B%03%8E%FC%93%EAI%B6%D4%FAx
Hollis Blanchard [Mon, 19 Feb 2007 07:49:12 +0000 (16:49 +0900)]
GNTTAB: PowerPC patch for dynamic grant tables.
Grant table expansion is disabled for now, since we currently make assumptions
about grant table MFNs being contiguous.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 12:11:52 +0000 (12:11 +0000)]
linux: Support new 'fast suspend' mode which does not require us to
hotplug all auxiliary CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 12:11:10 +0000 (12:11 +0000)]
tools: Advertise save/restore multiple VCPU contexts capability.
This capability means that save/restore will remember contexts of all
online VCPUs at the time of final guest suspend. Any initialised but
offline VCPUs will not be saved!
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Fri, 2 Mar 2007 11:25:12 +0000 (11:25 +0000)]
[xenstored] Fix error path when xc_map_foreign_range fails.
If xc_map_foreign_range fails, the new domain object is freed,
but it is not removed from the connection list.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 17:59:17 +0000 (17:59 +0000)]
Save/restore context of all online VCPUs in PV save/restore/migrate.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Thu, 1 Mar 2007 17:28:31 +0000 (17:28 +0000)]
[tools] Set guest address size to be the same as dom0 address size on restore.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 1 Mar 2007 17:27:31 +0000 (17:27 +0000)]
[XEN] Check that the cr3 mfn is valid before using it.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 15:56:45 +0000 (15:56 +0000)]
linux: No need to kmem_cache_shrink(pgd_cache) on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 14:51:12 +0000 (14:51 +0000)]
Fully reset the xenstore connection when a domain is (re)introduced to xenstored.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 14:00:05 +0000 (14:00 +0000)]
[HVM] Save/restore: remove bogus "valid state" check
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:57:25 +0000 (13:57 +0000)]
hvm: Clean up console-information passing via xenstore.
Each serial, parallel and monitor device in qemu that is connected to
a pty creates a xenstore node of the form:
<domain-path>/monitor/tty
<domain-path>/serial/<n>/tty
<domain-path>/parallel/<n>/tty
In addition, serial/0 (com1) also registers its information at:
<domain-path>/console/tty
Also fix a realloc() failure memory leak.
Signed-off-by: Ben Thomas <ben@virtualiron.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:48:31 +0000 (13:48 +0000)]
Fix Xend domain_lookup error report when looking up an invalid
domain: raise the correct error code (XendInvalidDomain instead of
XendError). Also remove redundance exception code that is handled by
domain_lookup.
Signed-off-by: Yung Giang <ygiang@gmail.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:45:53 +0000 (13:45 +0000)]
acm: Fix the traversal of the event channel buckets and use the active
grant table entries instead of the shared ones. I had to move some
functions from grant_table.c into grant_table.h to make them usable by
the ACM module.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:23:44 +0000 (12:23 +0000)]
Create P2M map during Mini-OS boot (fixes 'xm dump-core').
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:23:04 +0000 (12:23 +0000)]
Fix PAE Mini-OS build.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:14:53 +0000 (12:14 +0000)]
x86: No need to take full reference when doing mmu_update on a foreign
domain. Also fix a pre-existing race setting PGT_pinned versus
clearing it during domain_kill().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 11:38:55 +0000 (11:38 +0000)]
xen: Cleanups and bug fixes after the rcu_lock_domain patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 11:08:49 +0000 (11:08 +0000)]
Remove Xen workaround for HVM builder now that it's fixed
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 11:04:45 +0000 (11:04 +0000)]
Merge
Tim Deegan [Thu, 1 Mar 2007 11:04:23 +0000 (11:04 +0000)]
[HVM] Builder must know which kind of vcpu context struct to use
when the tools are being run in a compat-mode domain
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:44:40 +0000 (10:44 +0000)]
xen: Use RCU-based domain-locking functions where appropriate.
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:32:52 +0000 (10:32 +0000)]
xen: Last minute rename of RCU domain get/put functions:
find_domain_rcu_lock -> rcu_lock_domain_by_id
domain_rcu_unlock -> rcu_unlock_domain
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:24:19 +0000 (10:24 +0000)]
hvm/ia64: Fix IDE PIO acceleration.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:01:51 +0000 (10:01 +0000)]
Change compat-check in set_vcpucontext again. Give caller leeway for
HVM guests only.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 09:52:40 +0000 (09:52 +0000)]
[XEN] Fix cset 14166
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Wim Colgate [Wed, 28 Feb 2007 20:35:36 +0000 (12:35 -0800)]
Use stat to poll on phantom device until it becomes ready
Signed-off by Wim Colgate <wim@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 18:15:42 +0000 (18:15 +0000)]
libxc: Quieten the discard_file_cache() function. Preserve errno
across it. No longer make calls to the function dependent on 'non-live
save/restore': it's not a good test of whether the fd is a socket.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 18:06:56 +0000 (18:06 +0000)]
Fix init.d/xendomains startup script so log_error and log_success
will also work on redhat-based distributions before RHEL 5. See
discussion "xendomains init script" about a year ago on xen-devel.
Signed-off-by: Florian Kirstein <ray@ray.net>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 17:55:19 +0000 (17:55 +0000)]
linux: More save/restore fixes. Fix deadlock of cpu_hotplug_lock vs
workqueue_mutex. This is a new deadlock since the workqueue_mutex is
acquired in the workqueue_cpu_calbback() function across
CPU_UP_PREPARE->CPU_ONLINE.
The fix is for us not to rudely grab the cpu_hotplug_lock() during
save/restore -- it's really not necessary.
This patch is applicable to any of our 2.6 kernels, but is absolutely
required from 2.6.18 onwards.
Signed-off-by: Keir Fraser <keir@xensource.com>
George Dunlap [Wed, 28 Feb 2007 16:13:49 +0000 (11:13 -0500)]
[XEN][SHADOW] Use slow method for early-unshadow
The "fast" method fails a significant portion of the time.
unshadow will still use the "fast" method, but will fall
back to a brute-force method if it fails.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
George Dunlap [Wed, 28 Feb 2007 16:11:22 +0000 (11:11 -0500)]
[XEN][SHADOW] Fix early-unshadow logic.
Make sure to reset the early-unshadow logic when we
do a fast-path propagate or when we emulate a non-zero
write.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:44:52 +0000 (14:44 +0000)]
hvm: Only do hvm_disable() on HVM-enabled systems.
Original patch by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:34:25 +0000 (14:34 +0000)]
linux: Disable idle-loop alternatives.
ACPI and APM idle functions in particular are not suitable choices
when running on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:26:26 +0000 (14:26 +0000)]
linux: Split suspend_mutex into watch_mutex and transaction_mutex.
This clarifies their usage and relationship with request_mutex and
response_mutex.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:13:09 +0000 (14:13 +0000)]
More PV save/restore fixes.
Related changesets:
14148:
b67c253d1cdb4f502dec2
13519:
b4a8000e76db6b4b27341
These three changesets must be applied as a set!
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Wed, 28 Feb 2007 13:22:20 +0000 (13:22 +0000)]
Fix 32-bit x86 compile
Tim Deegan [Wed, 28 Feb 2007 13:19:16 +0000 (13:19 +0000)]
[XEN] Compat-mode dom0 always provides compat vcpu_guest_context structs.
Update arch_set_info_guest to do the right thing.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Wed, 28 Feb 2007 13:17:27 +0000 (13:17 +0000)]
[XEN] Make the compat-mode l4 page table look more like a page table
and remove some special-case code in the shadows.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Christian Limpach [Wed, 28 Feb 2007 10:40:52 +0000 (10:40 +0000)]
[XEN] No need to change the compat mode of the guest in xen.
The tools set the compat mode already explicitly.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:44:59 +0000 (09:44 +0000)]
Loop on actual elfnote array size rather than depending on ELFNOTE_MAX
macro.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:41:02 +0000 (09:41 +0000)]
Add suspend_cancel flag to linux elf notes.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:39:23 +0000 (09:39 +0000)]
Add xm save -c/--checkpoint option
xm save --checkpoint leaves the domain running after creating the
snapshot.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:39:03 +0000 (09:39 +0000)]
Let xend choose to do hard or soft domain resumption depending on
whether the domain advertises support for soft resumption in its
elfnotes.
Signed-off-by: Brendan Cully <brendan@kublai.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:38:14 +0000 (09:38 +0000)]
Fix off-by-one preventing the last elfnote from being read in xc.c.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 20:27:18 +0000 (20:27 +0000)]
Add openssl-dev and xorg-x11-dev to README
Attached is a documentation patch to the top-level README file; it
just adds two notes saying that you need to have openssl-devel and
xorg-x11-devel installed to successfully complete a "make world" at
the top level.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 20:22:36 +0000 (20:22 +0000)]
[XEN] [ACM] Simplify the event channel scanning
This patch simplifies the scanning of a domain's event channels
considering that an 'ECS_UNBOUND' event channel is not connected and
can be skipped.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 16:13:08 +0000 (16:13 +0000)]
Fix for Solaris compile/output for VBDs in xentop.
Signed-off-by: John Levon <john.levon@sun.com>
Ian Campbell [Tue, 27 Feb 2007 15:40:37 +0000 (15:40 +0000)]
merge
Ian Campbell [Tue, 27 Feb 2007 15:39:08 +0000 (15:39 +0000)]
[TOOLS] Add support for XEN_ELFNOTE_L1_MFN_VALID to readnotes.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:34:55 +0000 (15:34 +0000)]
Accelerate IDE PIO on HVM/IA64 [3/3]
Add a bufferring mechanism for IDE PIO in a hypervisor.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:34:24 +0000 (15:34 +0000)]
Accelerate IDE PIO on HVM/IA64 [2/3]
Add one more page to the guest for IDE PIO.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:33:25 +0000 (15:33 +0000)]
Accelerate IDE PIO on HVM/IA64 [1/3]
Add a bufferring mechanism for IDE PIO in qemu.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Steven Hand [Tue, 27 Feb 2007 14:33:07 +0000 (14:33 +0000)]
Fix save/restore (and non-live migrate) on PAE.
Plus add some more debug output to help us spot similar issues in the future.
Signed-off-by: Steven Hand <steven@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 13:58:40 +0000 (13:58 +0000)]
Added SXP pretty-printer.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 13:43:01 +0000 (13:43 +0000)]
linux: Don't allow partial message raeds from xenstore across
save/restore. This patch is an essential companion to
13519:
b4a8000e76db6b4b27341.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 11:19:25 +0000 (11:19 +0000)]
Fix exception handling to cope with exceptions that do not have a string as
the first argument.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
George Dunlap [Tue, 27 Feb 2007 11:06:29 +0000 (06:06 -0500)]
[TOOLS] Make xentrace help a little more informative.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
George Dunlap [Tue, 27 Feb 2007 11:02:32 +0000 (06:02 -0500)]
Merge
George Dunlap [Tue, 27 Feb 2007 11:01:35 +0000 (06:01 -0500)]
[TOOLS] Added option to xentrace to discard records in the buffer
before beginning the trace.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 11:00:36 +0000 (11:00 +0000)]
x86: Fix BUG() crash in mm.c.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 01:52:27 +0000 (01:52 +0000)]
Fix missing bits of the docs from cset 14020, and match that change by removing
the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 01:05:32 +0000 (01:05 +0000)]
Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs and
bindings for many of the get_all methods elsewhere that Xend already
implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 00:37:27 +0000 (00:37 +0000)]
Added some more fields to host_cpu.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Mon, 26 Feb 2007 17:20:36 +0000 (17:20 +0000)]
[HVM][SVM] Save/Restore: Remove commented out code
Code not needed by SVM as the "VM_ENTRY_CONTROLS" register doesn't
exist.
Signed off: Mats Petersson (mats.petersson@amd.com)
kfraser@localhost.localdomain [Mon, 26 Feb 2007 17:05:10 +0000 (17:05 +0000)]
Missing files from previous changeset.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 17:04:39 +0000 (17:04 +0000)]
[xentrace][HVM] introduce HVM tracing to unify SVM and VMX tracing
* new tracing class TRC_HVM replacing TRC_VMX
* 20 new trace events to differentiate the information carried by them
** added corresponding trace points in SVM and VMX code
** updated formats file: descriptive formatting of trace event data
** completely replacing previous simple tracing in VMX
* possibility to toggle single events on and off at compile time in
include/asm-x86/hvm/trace.h
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 16:27:35 +0000 (16:27 +0000)]
x86: Update map_pages_to_xen() to avoid arithmetic based on
uninitialised frame_table variable.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 16:25:17 +0000 (16:25 +0000)]
x86: Clean up {alloc,free}_xen_pagetable() interface to avoid use of
frame_table variable before initialisation. This wasn't a bug, but was
confusing.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Mon, 26 Feb 2007 15:50:50 +0000 (15:50 +0000)]
Add argument check for xm network-attach command
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Ewan Mellor [Mon, 26 Feb 2007 15:41:35 +0000 (15:41 +0000)]
Fix xm vcpu-set command for when wrong number of VCPU is given
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Ewan Mellor [Mon, 26 Feb 2007 15:39:34 +0000 (15:39 +0000)]
Move credit scheduler configuration into XendDomainInfo, so that the domain
will be cleaned up correctly if the scheduler parameters are wrong.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Tim Deegan [Mon, 26 Feb 2007 14:48:46 +0000 (14:48 +0000)]
Merge
Tim Deegan [Mon, 26 Feb 2007 14:47:54 +0000 (14:47 +0000)]
[TOOLS] fix sizeof() usage in xc_core
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 14:09:08 +0000 (14:09 +0000)]
linux: Fix backward compatibility in page table handling
A 3.0.2 compatibility requirement slipped my attention before
submitting the original page table handling changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Tim Deegan [Mon, 26 Feb 2007 13:56:01 +0000 (13:56 +0000)]
[XEN] Allow log-dirty mode to be enabled on already-shadowed domains.
and catch a few missing mark_dirty() calls
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 11:53:35 +0000 (11:53 +0000)]
Remap PCI-ISA IRQ 6 to IRQ 7. Disable LPT1 by default and remove its
definition from the ACPI DSDT. This avoids conflict with FDC on IRQ6
(it is a bit more likely that someone will want to connect a floppy
image to a guest than it is that anyone will ever care about
parallel-port functionality).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 11:21:03 +0000 (11:21 +0000)]
Resolve conflict over use of name xen_elfnote.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Mon, 26 Feb 2007 10:23:03 +0000 (10:23 +0000)]
Merge
Tim Deegan [Mon, 26 Feb 2007 10:22:38 +0000 (10:22 +0000)]
[HVM] Shadow: always use mmio_space() to detect MMIO addresses
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 10:18:52 +0000 (10:18 +0000)]
libxc, ia64: Added new arch_hook for registering ia64 big endian images.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 09:59:56 +0000 (09:59 +0000)]
Save elfnotes in VM sxpr under image/notes, and load them on restore.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 09:59:33 +0000 (09:59 +0000)]
Write Xen ELF notes into xenstore on domain build.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
Tim Deegan [Mon, 26 Feb 2007 09:28:30 +0000 (09:28 +0000)]
[HVM] Revert cset 14083
which was wrong, and not very useful.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 09:13:50 +0000 (09:13 +0000)]
xm-test, acm: Use xvda* device name instead of sdb* device inside guest domain.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 09:12:55 +0000 (09:12 +0000)]
Remove duplicate #includes from Linux sparese-tree file.
From: Chuck Short <zulcss@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
root@xenhog02.amd.com [Mon, 26 Feb 2007 05:58:33 +0000 (23:58 -0600)]
fix PDPE entry in P2M table under 32bit PAE hypervisor
Ewan Mellor [Mon, 26 Feb 2007 00:07:14 +0000 (00:07 +0000)]
Remove unused network.default_{gateway,netmask}.
Signed-off-by: Ewan Mellor <ewan@xensource.com>